home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus Special 15 / AMIGAplus Sonderheft 15 (1998)(ICP)(DE)[!].iso / c / breakname.doc < prev    next >
Text File  |  1994-05-24  |  3KB  |  98 lines

  1.  
  2.  BREAKNAME, written by Kai Iske April 18. 1994
  3.             This is PUBLIC DOMAIN; you may do with it whatever you like
  4.  
  5. If you change/republish/delete/sell the program or do anything similar, please
  6. be so kind to keep my name within the program and all the other files, even
  7. though you`re not obliged to, as for the definition of Public Domain
  8.  
  9. This is a simple addition to the C:Break command. BreakName may break
  10. processes by issuing either
  11.  
  12.  a) the complete path + filename as shown by the C:Status command
  13.  b) only the filename
  14.  
  15. BREAKNAME was written using DevPac 3.04....
  16.  
  17. !!! BreakName requires OS 2.x and up to run, BreakName is PURE !!!
  18.  
  19.  
  20.  
  21. -----------------------
  22. What does BREAKNAME ???
  23. -----------------------
  24.  
  25. As stated above you may break a CLI process by issuing it`s name or the
  26. complete path+filename as shown by the status command. Why that, c:Break
  27. may break processes as well ?
  28.  
  29. Assume you have a script which launches several processes and another script
  30. for breaking those processes. How can you know which CLI number applies to
  31. which process ??? Noone can tell, but you know the names of the programs
  32. launched, don`t you ??? Well, this is it, simply use BREAKNAME in such a
  33. script to remove those processes again. I use such scripts to launch and quit
  34. my TeX environment (for example).
  35.  
  36.  
  37. Commandline options :
  38.  
  39.   BreakName PROCESS/A,ALL/S,C/S,D/S,E/S,F/S
  40.  
  41. Explanation
  42.  
  43.   PROCESS : This is the name of the process to signal. You can either supply
  44.             the complete path+filename here or simply supply the filename.
  45.             The process search is handled case-insensitively.
  46.   ALL     : Will tell BREAKNAME to send all signals (CDEF) to the process
  47.   C       : CTRL-C will be sent to the process
  48.   D       : CTRL-D will be sent to the process
  49.   E       : CTRL-E will be sent to the process
  50.   F       : CTRL-F will be sent to the process
  51.   
  52.  
  53. ----------------------------
  54. How to install BREAKNAME ???
  55. ----------------------------
  56.  
  57. Simply copy it to a directory within you search path (eg. C:)
  58.  
  59.  
  60.  
  61.  
  62. ------------
  63. Version 37.0
  64. ------------
  65.   - initial release
  66.  
  67. ------------
  68. Version 37.1
  69. ------------
  70.   - FindTask was called with A0=NULL instead of A1=NULL ;)
  71.     Whoops, better check registers next time
  72.   - ReturnCode wasn`t set correctly
  73.  
  74. ------------
  75. Version 37.2
  76. ------------
  77.   - Permit was only called when the process was not found
  78.     (Reported by: David Jameson)
  79.   - Didn`t check for length of name to copy
  80.     (Reported by: David Jameson)
  81.  
  82. Hope you like it, if not, delete it......
  83.  
  84.  
  85.  
  86. So long,
  87.  
  88.      Kai
  89.  
  90.  
  91.  
  92.  
  93.  --- Kai Iske
  94.  Brucknerstrasse 18, 63452 Hanau, Germany, Tel.: +49-(0)6181-850181
  95.  Z-Net    : KAI@SWEET.ZER            usenet : kai@iske.adsp.sub.org
  96.  internet : iske@informatik.uni-frankfurt.de              IRC:kiske
  97.  ---- Life sucks ----
  98.